<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>生成结果</title>
</head>
<body>
<h1>生成结果</h1>
<p th:if="${error}" th:text="${error}" class="error"></p>
<img th:if="${image}" th:src=" ${image}" alt="生成的图片">
<a href="/form">返回表单</a>
</body>
</html>